package com.igogogo.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @Author: Mr.Chen
 * @Date: 2018/7/1 22:34
 */

@Component
@Aspect
public class AuthAspect {


    @Pointcut("@annotation(com.igogogo.aop.Auth)")
    public void cut() {

    }

    @Before("cut()")
    public void beforeMethod() {
        System.out.print("");
        System.out.print("");
    }

}
